﻿<%@ Page Language="VB" AutoEventWireup="false" CodeFile="WG_1000_90.aspx.vb" Inherits="Widget_WG_300_255" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>Widget: PhongCachSONG.net</title>
    <link href="/Widget/Widget-style_1000_90.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript" src="/Widget/jquery-1.5.1.min.js"></script>
    <script type="text/javascript" src="/Widget/jquery.divslideshow-1.2.js"></script>
</head>
<body>
    <form id="form1" runat="server">
<div id="pcs-widget" style="width: 980px;">
        <div class="header clear">
            <div class="left"></div>
            <div class="line"></div>
            <div class="middle" style="width: 958px;">
            </div>
            <div class="line"></div>
            <div class="right"></div>
        </div>
        <div class="content clear">
            <div class="left" style="height: 70px;"></div>
            <div class="middle" style="width: 958px; height: 60px;">
                <div style="height: 5px;"></div>
                <div id="plug-and-play">
                    <asp:Repeater ID="rptLastestNews" runat="server">
                        <ItemTemplate>
                            <div class="slide">
                                <div class='widget-item'>
                                    <div style="float: left;">
                                        <div style='width: 95px; height: 60px;' class='widget-image'>
                                            <asp:HyperLink id='HyperLink2' Target=_blank runat="server" ToolTip='<%# DataBinder.Eval(Container.DataItem,"Title") %>' NavigateUrl='<%# FormatURL("noidung",DataBinder.Eval(Container.DataItem,"newid"),DataBinder.Eval(Container.DataItem,"Title")) %>'>
                                                <asp:Image ID="imgNews" Height="65px" width='80px' BorderWidth="0px" runat="server" ImageUrl ='<%# iif(DataBinder.Eval(Container, "DataItem.imagepath").tostring().Contains("http://"), DataBinder.Eval(Container, "DataItem.imagepath"), "/Portals/0/news/" & DataBinder.Eval(Container, "DataItem.imagepath")) %>' AlternateText="" />
                                            </asp:HyperLink>
                                        
                                        </div>
                                        <div style='width: 374px; height: 60px; font-family: Tahoma; font-size: 12px;' class='widget-title'>
                                            <asp:HyperLink id='hplOtherNews' Target=_blank Font-Names="Tahoma"  runat="server" ToolTip='<%# DataBinder.Eval(Container.DataItem,"Title") %>' NavigateUrl='<%# FormatURL("noidung",DataBinder.Eval(Container.DataItem,"newid"),DataBinder.Eval(Container.DataItem,"Title")) %>' text='<%# DataBinder.Eval(Container.DataItem,"title")%>' />
                                            <span class='widget-date'><br><asp:Label ForeColor="red" Font-Names="Tahoma" id='Label1' runat="server" text='<%#CDate(DataBinder.Eval(Container.DataItem, "createdate")).ToString("HH:mm - dd/MM/yyy")%>' /></span>
                                            <span class='widget-date'><asp:Label ForeColor="#003366" Font-Names="Tahoma" id='Label2' runat="server" text='<%#DataBinder.Eval(Container.DataItem, "Summary")%>' /></span>
                                        </div>
                                    </div>
                        </ItemTemplate>
                        <AlternatingItemTemplate>
                                <div style="float: left;">
                                    <div style='width: 95px; height: 60px;' class='widget-image'>
                                        <asp:HyperLink id='HyperLindk2' Target=_blank runat="server" ToolTip='<%# DataBinder.Eval(Container.DataItem,"Title") %>' NavigateUrl='<%# FormatURL("noidung",DataBinder.Eval(Container.DataItem,"newid"),DataBinder.Eval(Container.DataItem,"Title")) %>'>
                                            <asp:Image ID="imgNddddddews" Height="65px" width='80px' BorderWidth="0px" runat="server" ImageUrl ='<%# iif(DataBinder.Eval(Container, "DataItem.imagepath").tostring().Contains("http://"), DataBinder.Eval(Container, "DataItem.imagepath"), "/Portals/0/news/" & DataBinder.Eval(Container, "DataItem.imagepath")) %>' AlternateText="" />
                                        </asp:HyperLink>
                                        
                                    </div>
                                    <div style='width: 374px; height: 60px; font-family: Tahoma; font-size: 12px;' class='widget-title'>
                                        <asp:HyperLink id='hplOtdherNews' Target=_blank Font-Names="Tahoma"  runat="server" ToolTip='<%# DataBinder.Eval(Container.DataItem,"Title") %>' NavigateUrl='<%# FormatURL("noidung",DataBinder.Eval(Container.DataItem,"newid"),DataBinder.Eval(Container.DataItem,"Title")) %>' text='<%# DataBinder.Eval(Container.DataItem,"title")%>' />
                                        <span class='widget-date'><br><asp:Label ForeColor="red" Font-Names="Tahoma" id='Labddel1' runat="server" text='<%#CDate(DataBinder.Eval(Container.DataItem, "createdate")).ToString("HH:mm - dd/MM/yyy")%>' /></span>
                                        <span class='widget-date'><asp:Label ForeColor="#003366" Font-Names="Tahoma" id='Labddel2' runat="server" text='<%#DataBinder.Eval(Container.DataItem, "Summary")%>' /></span>
                                    </div>
                                </div>
                            </div>
                            </div>
                        </AlternatingItemTemplate>
                    </asp:Repeater>
                </div>
            </div>
            <div class="right" style="height: 70px;"></div>
        </div>
        <div class="footer clear">
            <div class="left"></div>
            <div class="middle" style="width: 958px;"></div>
            <div class="right"></div>

        </div>
    </div>
    <script type="text/javascript">
        $('.slideshow').divSlideShow();
        $('#dss, #plug-and-play').divSlideShow({
            height: 75,
            width: 980,
            arrow: "split",
            loop: 10000,
            slideContainerClass: "slide-container",
            separatorClass: "separator",
            controlClass: "control",
            leftArrowClass: "control",
            rightArrowClass: "control",
            controlActiveClass: "control-active",
            controlHoverClass: "control-hover",
            controlContainerClass: "control-container"
        });
    </script>
    </form>
</body>
</html>
